<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link href="../css/all.css" rel="stylesheet">
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        #main{
            background-color: #E3E4E5;
            height: 30px;
        }
        #maintext{
            width: 960px;
            
            font-size: 12px;
            vertical-align: baseline;
            line-height: 30px;
            margin: 0 auto;
            
        }

        #maintext > div > ul{
            list-style: none;
            float: right;
        }
        #maintext > div > ul > li{
            float: left;
            margin-left: 27px;
        }
        #maintext > div > ul > li > a{
            text-decoration: none;
            color: black;
        }
        #location
        {
            padding: 0 5px;
            /* background-color: white; */
            float: left;
            position: relative;
            /* margin-left: 30%; */
        }
        #location a{
            text-decoration: none;
            color: black;
            position: relative;
        }
        #maintext > div > ul > li:nth-child(1) > a:nth-child(2)
        {
            color:red;
        }
        ul>li>span
        {
            position: relative;
            left: 14px;
            color: #CCCCCC;
        }
        #location > div{
            width: 320px;
            height: 500px;
            position: absolute;
            display: none;
            background-color:white ;
            /* opacity: 0.2; */
            left: -1px;
            box-sizing: border-box;
            border: 1px solid rgb(204, 204, 204);
            border-top: 1px solid white;
            /* top: 25px; */
        }
        #location:hover div{
            display: block;
            box-shadow: 0 2px 2px rgba(0, 0, 0, .2)
            /* top: 25px; */
        }
        #location:hover{
            /* border: 1px solid white; */
            background-color: white;
        }
    </style>
</head>
<body>
    <div id="main">
        <div id="maintext">
            <div id="location">
                <i class="fas fa-map-marker-alt" style="color: red;"></i><a href="javascript:;"> 江西</a>
                <div>

                </div>
            </div>
            <div id="leftmanu">
                <ul>
                    
                    <li><a href="javascript:;">你好，请登录</a><a href="javascript:;">免费注册</a><span>l</span></li>
                    <li><a href="">我的订单 <i class="fa fa-angle-down"></i></a><span>l</span></li>
                    <li><a href="">我的京东 <i class="fa fa-angle-down"></i></a><span>l</span></li>
                    <li><a href="">京东会员</a><span>l</span></li>
                    <li><a href="">企业采购 <i class="fa fa-angle-down"></i></a><span>l</span></li>
                    
                    <li><a href="">客户服务 <i class="fa fa-angle-down"></i></a><span>l</span></li>
                    <li><a href="">网站导航 <i class="fa fa-angle-down"></i></a><span>l</span></li>
                    <li><a href="">手机京东</a></li>
                </ul>
            </div>
        </div>
    </div>
</body>
</html>